/*
 * SinglePoint.h
 *
 *  Created on: May 29, 2011
 *      Author: gilang
 */

#ifndef SINGLEPOINT_H_
#define SINGLEPOINT_H_

#include "Point.h"

class SinglePoint: public Point {

public:
	SinglePoint(){}
	SinglePoint(double x):Point(x,0,0){}
	double get(int i){
		if(i>1)
			return 0;
		return get(1);
	}

	virtual ~SinglePoint(){}
};

#endif /* SINGLEPOINT_H_ */
